package com.weitu.occupationalHealth.station.service.impl;

import com.weitu.occupationalHealth.station.entity.Station;

import com.weitu.occupationalHealth.station.mapper.StationMapper;
import com.weitu.occupationalHealth.station.service.StationService;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StationServiceImpl implements StationService {
    @Autowired
    private StationMapper stationMapper;

    @Override
    public Map selectById(String id) {
        return this.stationMapper.selectById(id);
    }

    @Override
    public int deleteById(String id) {
        return this.stationMapper.deleteById(id);
    }

    @Override
    public int updateByIdSelective(Map record) {
        return this.stationMapper.updateByIdSelective(record);
    }

    @Override
    public int insertSelective(Map record) {
        return this.stationMapper.insertSelective(record);
    }

    @Override
    public List<Map> selectAllStation(Map map) {
        return this.stationMapper.selectAllStation(map);
    }

    @Override
    public int selectStationCount(Map map) {
        return this.stationMapper.selectStationCount(map);
    }
}